import { defineConfig } from 'vite'


export default defineConfig ({
  build: {
    lib: {
      entry: 'src/index.ts',
      name: 'Bencode',
      formats: ['umd', 'es'],
      fileName: 'index'
    },
    outDir: "dist/lib"
  }
})
